package com.yuanrui.practice.server.dao;


import com.yuanrui.practice.server.entity.dto.PracticeSubjectDTO;
import com.yuanrui.practice.server.entity.po.SubjectPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 题目信息表(SubjectInfo)表数据库访问层
 *
 * @author makejava
 * @since 2024-07-09 19:23:58
 */
@Mapper
public interface SubjectInfoDao {
    /**
     * 获取练习题目
     *
     * @param dto 练习题目dto
     * @return 练习题目
     */
    List<SubjectPO> getPracticeSubject(PracticeSubjectDTO dto);

    SubjectPO selectById(Long id);
}

